<!-- header -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
 <title><?php Options::out( 'title' ); ?> ™</title>
 <meta http-equiv="Content-Type" content="text/html">
 <meta name="generator" content="Habari">

 <link rel="edit" type="application/atom+xml" title="<?php Options::out( 'blog_title' ); ?>" href="<?php URL::out( 'introspection' ); ?>">
 <link rel="alternate" type="application/atom+xml" title="Atom" href="<?php URL::out( 'collection', array( 'index' => '1' ) ); ?>">
 <link rel="EditURI" type="application/rsd+xml" title="RSD" href="<?php URL::out( 'rsd' ); ?>">

 <link rel="stylesheet" type="text/css" media="screen" href="<?php Site::out_url( 'theme' ); ?>/style.css">

<?php Theme::header() ?>
</head>

<body>
<div id="wrapper">
	<div id="header">
		<?php include 'searchform.php'; ?>
		<p><a class="icon">▶</a> <a href="<?php URL::out( 'collection', array( 'index' => '1' ) ); ?>" title="iHao Press Entry Feed">Atom Entries</a> <a class="icon">▶</a> <a href="<?php URL::out( 'comments' ); ?>" title="iHao Press Comments Feed">Atom Comments</a></p>
	</div><!-- /header -->

	<div id="menu">
		<ul>
			<li class="page_item"><a href="<?php Site::out_url( 'habari' ); ?>" title="Home">Home</a></li>
<?php //page link
foreach ( $pages as $tab ) {
?>
			<li class="page_item"><a href="<?php echo $tab->permalink; ?>" title="<?php echo $tab->title; ?>"><?php echo $tab->title; ?></a></li>
<?php
}
if ( $user ) { ?>
			<li class="page_item current_page_item"><a href="<?php Site::out_url( 'admin' ); ?>" title="Admin area">Admin</a></li>
<?php } ?>
		</ul>
		<h1><a href="<?php Site::out_url( 'habari' ); ?>"><?php Options::out( 'title' ); ?></a></h1>
	</div><!-- /menu -->
	<div id="container">
<!-- /header -->

